home *** CD-ROM | disk | FTP | other *** search
- COMMAND: ERRLEV (Error Level) DOCUMENTATION : On-line
-
- FUNCTION: Sets the variable ERRORLEVEL to the ASCII code value of the upshifted
- response to a question in a batch file.
-
- FORMAT: ERRLEV text
-
- TYPE: Public domain batch sub-command
-
- REMARKS: This batch command uses the ERRORLEVEL parameter to allow branching
- in response to a question. The "text" is displayed on the screen
- and the user responds with a character. All lowercase letters are
- converted to uppercase and ERRORLEVEL is given the ASCII code value
- of the response. ERRORLEVEL can then be interrogated using the batch
- IF statement to branch appropriately.
-
-
-
-
-
-
-
-